var account = localStorage.getItem('account');

if(account==null){
    mui.toast('请先登录');
    setTimeout(function () {
        mui.openWindow({
            url: "login.html",
        });
    },1000)

}